<template>
  <div>
    <button @click="count = count + 1">增加count{{count}}</button>
    <h3>插槽测试</h3>
    <slot></slot>
    <p>我是底部</p>
    <slot name="button"></slot>
  </div>
</template>

<script>
export default {
  data(){
    return {
      count: 3
    }
  }
}
</script>

<style>

</style>